package com.example.studyPlatform.service.protocol;

import com.example.studyPlatform.bean.User;

import java.util.Optional;

public interface LoginService {
    Optional<User> login(String username,String password);
    boolean logout(User user);
    boolean isLogin(User user);
}
